<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
	
	<rich:simpleTogglePanel switchType="#{switchType == null ?  'client' : switchType}" label="#{label}"
		rendered="#{rendered == null ? true : rendered}" eventsQueue="viewQ" width="99%" id="#{id}"
		opened="#{opened == null ? true : opened}" styleClass="#{styleClass}">
		<f:facet name="openMarker">
			<h:graphicImage value="/themes/default/images/rich-panel-header-max.gif">
			</h:graphicImage>
		</f:facet>
		<f:facet name="closeMarker">
			<h:graphicImage value="/themes/default/images/rich-panel-header-min.gif">
			</h:graphicImage>
		</f:facet>
		<ui:insert/>
	</rich:simpleTogglePanel>
</ui:composition>